.data-mode {
  box-sizing: border-box;
  border: 1px solid #ccc;
  width: 480px;
  margin: 8px 4px;
  padding: 8px;
  font-size: 12px;
  position: relative;
  --box-panel: #ffffff;
  --boxbtn-border: #dbdbdb;
}

.data-mode-title {
  position: absolute;
  top: -4px;
  left: 8px;
  box-sizing: border-box;
  height: 12px;
  line-height: 12px;
  margin: 0px;
  background-color: #fff;
  padding: 0px 8px;
}
.data-mode-input {
  box-sizing: border-box;
  height: 18px;
  line-height: 18px;
  float: left;
  margin: 0px;
}
.data-mode-label {
  box-sizing: border-box;
  display: block;
  height: 18px;
  line-height: 18px;
  font-size: 12px;
  font-weight: 500;
  float: left;
  margin-left: 8px;
}
.data-mode-line {
  box-sizing: border-box;
}
.data-mode-line::after {
  content: '';
  display: block;
  clear: both;
}

.data-mode-btn {
  box-sizing: border-box;
  width: 36px;
  height: 18px;
  margin: 4px 0px 0px 20px;
  padding: 0px;
  display: block;
  line-height: 16px;
  border: 1px solid #999;
  background-color: #ddd;
  border-radius: 2px;
  cursor: pointer;
  text-align: center;
}
.data-mode-btn:hover {
  background-color: #eee;
}
.data-mode-btn.data-mode-btn-disabled {
  background-color: #333;
  cursor: default;
}

.data-mode-select-container:first-child {
  box-sizing: border-box;
  float: left;
  padding-left: 8px;
}
.data-mode-select-text {
  box-sizing: border-box;
  float: left;
}
.data-mode-select {
  box-sizing: border-box;
  float: left;
  margin-right: 16px;
  border: 1px solid #999;
  border-radius: 2px;
  font-size: 12px;
  outline: none;
}
